<?php

namespace Models;

class Transactions extends \Phalcon\Mvc\Model {

    /**
     *
     * @var integer
     */
    public $id;

    /**
     *
     * @var integer
     */
    public $user_id;

    /**
     *
     * @var string
     */
    public $money;
    
    /**
     *
     * @var string
     */
    public $balance_change;
    
    /**
     *
     * @var string
     */
    public $type;

    /**
     *
     * @var string
     */
    public $date;

    /**
     *
     * @var string
     */
    public $transaction_code;

    /**
     *
     * @var string
     */
    public $note;

    /**
     * Independent Column Mapping.
     */
    public function columnMap() {
        return array(
            'id' => 'id',
            'user_id' => 'user_id',
            'money' => 'money',
            'balance_change' => 'balance_change',
            'type' => 'type',
            'date' => 'date',
            'transaction_code' => 'transaction_code',
            'note' => 'note'
        );
    }

}
